728x90

순서대로 진행하면 된다

 

728x90
728x90

사람들은 거의 다, 내가 가진 물건을 지금 현 시점보다 더 비싸게 팔고 싶고, 구매를 해야하는 사람이라면 현 시점보다 더 저렴하게 구매를 하고 싶다.

그러면 어떻게 해야하는 지 아래를 표를 보면 기초지만, 알면 좋은 매수 매도 잘하는 방법을 알 수 있다.

728x90
728x90


UserWarning:
The dash_html_components package is deprecated. Please replace `import dash_html_components as html` with `from dash import html` import dash_html_components as html


From Dash version 1.xx to 2.xx

728x90
728x90


I will explain how to change the Python version.

By default the Python version is 2.7

Option Description:
'--config python' 
 - Python version change option
'--install [symbolic link path] python [real path] number'
 - Register the version.

Do the following:
1) '$ sudo update-alternatives --config python'
 - If no alternative is set, nothing is displayed.

2) '$ sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1'
    '$ sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.6 2'
 - Register Python 2.7 and 3.6 versions.

3) '$ sudo update-alternatives --config python'
 - Enter '$ sudo update-alternatives --config python' again to open the version selection menu.

4) '2'
 - Since we are using 3.6, enter 2.

5) '$ python --version'
 - Check that the desired Python version is set.

728x90
728x90

DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.



2.7 is not supported, so you have to upgrade to 3.x.


'ls /bin | grep python' to check if there is a 3.X version.

[--@------- ~]$ ls /bin | grep python
pmpython
python
python2
python2.7

If there is no 3.X version, type sudo yum install python3 to install the 3.X version.

[--@------- ~]$ sudo yum install python3

Installed:
  python3.x86_64 0:3.6.8-18.el7

Dependency Installed:
  python3-libs.x86_64 0:3.6.8-18.el7        python3-pip.noarch 0:9.0.3-8.el7         python3-setuptools.noarch 0:39.2.0-10.el7

Complete!


Check the version.

[--@------- ~]$ python --version
Python 2.7.5

[--@------- ~]$ python3 --version
Python 3.6.8

[--@------- ~]$ ls /bin | grep python
pmpython
python
python2
python2.7
python3
python3.6
python3.6m

 

Now you need to change to the Python 3.6 version you have installed.
https://clear-sky-sun.tistory.com/142

 

[Linux] change python version

I will explain how to change the Python version. By default the Python version is 2.7 Option Description: '--config python'  - Python version change option '--install [symbolic link..

clear-sky-sun.tistory.com





728x90
728x90
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-gqE7md/dash/
You are using pip version 8.1.2, however version 21.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pipcomman

 

curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py

 

728x90
728x90

The linux I use doesn't have pip

 

Use the yum repolist command to check if epel is installed.

- If the was installed, it will appear as below.

 

- If it is not installed, type 'sudo yum install python-pip'.

 

Now install pip.

 

Check if pip is installed.

728x90
728x90

 is not in the sudoers file.  This incident will be reported.
- root 권한이 없어서 sudo 명령으로 접근 할때, (name) is not in the sudoers file.  This incident will be reported. 메시지 발생.


해결 방법
- (name)에 root 권한을 줘야 합니다.

728x90
728x90

Why is the strike pop up?

PHP executable not found. Install PHP and add it to your PATH or set the php.debug.executablePath setting

executable PHP?

Search for user settings in the command palette.

open php edit

Is it like this?

728x90
728x90

HTML

<div id="main">
    <div class="item">1</div>
    <div class="item">2</div>
    <div class="item">3</div>
</div>

CSS

#main {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /*컨테이너에 Grid 트랙의 크기들을 지정해주는 속성*/ /* 열(column)의 배치*/ /*열이 3개니깐 1fr이 3개다*/
  grid-template-rows: repeat(9, minmax(100px, auto));
}

.item:nth-child(1) {  
	grid-column: 1 / span 1;	/*열 1번 칸에서..*/
	grid-row: 1 / span 10; 
}

.item:nth-child(2) {	
	grid-column: 3 / span 1;  	/*열 3번 칸에서..*/
	grid-row: 1 / span 10; 
}

.item:nth-child(3) {	
	grid-column: 2 / span 1;  	/*열 2번 칸에서..*/
	grid-row: 1 / span 10;  
}

 

 

CSS

#main {
  display: grid;
  grid-template-columns: repeat(24, 1fr); /* 열(column)의 배치*/ /*열이 24개이며, 사이즈는 1fr 동일*/
  grid-template-rows: repeat(9, minmax(100px, auto));
}

.item:nth-child(1) {  
	grid-column: 1 / span 5;	/*열 1번 칸에서..*/
	grid-row: 1 / span 10; 
}

.item:nth-child(2) {	
	grid-column: 20 / span 5;  	/*열 20번 칸에서..*/
	grid-row: 1 / span 10; 
}

.item:nth-child(3) {	
	grid-column: 6 / span 14;  	/*열 6번 칸에서..*/
	grid-row: 1 / span 10;  
}

728x90

+ Recent posts