01 virtualenv - smart1004/ReadTheDocs GitHub Wiki
https://python-guide-kr.readthedocs.io/ko/latest/dev/virtualenvs.html
C:\Programs\Python35
Python -m pip install --upgrade pip
Python.exe -m pip install --user virtualenv Py -m pip install --user virtualenv
pip install virtualenv
pip uninstall virtualenv
python3 -m pip install
Installing collected packages: virtualenv The script virtualenv.exe is installed in 'C:\Users\Administrator\AppData\Roaming\Python\Python35\Scripts' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Python.exe -m virtualenv py35_env
C:\Programs\Python35 C:\Programs\Python35\Python.exe -m virtualenv psc_env py -m virtualenv C:\ProgramData\psc_env
py -m virtualenv C:\ProgramData\psc_env <<<<<<<<<< Using base prefix 'C:\_tools\python36' New python executable in C:\ProgramData\psc_env\Scripts\python.exe Installing setuptools, pip, wheel... done.
Python.exe -m virtualenv py35_env
Using base prefix 'C:\Programs\Python35' New python executable in C:\Programs\Python35\py35_env\Scripts\python.exe Installing setuptools, pip, wheel... done.
cd C:\Programs\Python35 .\py35_env\Scripts\activate C:\Programs\Python35\py35_env\Scripts\activate
virtualenv keras
pip install pandas
pip uninstall pandas pip uninstall numpy
pip install pandas pip install numpy>=1.13.3 numpy>=1.13.3
pandas (0.18.1) numpy (1.12.1)
pip install numpy==1.13.3 pip install pandas==0.18.1
Successfully installed numpy-1.16.0 pandas-0.23.4
μλμ° λ²μ ν¨ν€μ§ μ€μΉλ°©λ²
https://www.lfd.uci.edu/~gohlke/pythonlibs/
pip install xgboost-0.7-cp35-cp35m-win_amd64.whl
pip install numpy-1.16.0+mkl-cp35-cp35m-win_amd64.whl pip install pandas-0.23.4-cp35-cp35m-win_amd64.whl
pip install -U numpy pandas
cd C:\Programs\Python35 .\py35_env\Scripts\activate C:\Programs\Python35\py35_env\Scripts\activate
C:\Programs\Python35\py35_env\Scripts\python.exe C:/posco/__test1111.py
PYTHONPATH
import pandas Missing required dependencies {0}".format(missing_dependencies)) 'numpy'
pprint(os.environ['PATH'].split(';'))
pip uninstall pandas pip uninstall numpy pip install pandas pip install numpy
Successfully installed numpy-1.16.0 pandas-0.23.4
pip install -U numpy pandas
ImportError: cannot import name 'TestCase'
C:\Programs\Python35\py35_env\Scripts\deactivate.bat
C:\Users\Administrator\psc_env\Scripts\activate
pip install scikit-learn pip install xgboost==0.81
pip install psycopg2==2.7.1 pip install Flask==1.0.2 pip install Flask-Cors==3.0.4 pip install flask-restful
Library dependencies for the python code. You need to install these with
pip install -r requirements.txt
before you can run this.
============================= Python -m pip install --upgrade pip
Quoting from https://pip.pypa.io/en/stable/user_guide/#config-file
On Windows the configuration file is %APPDATA%\pip\pip.ini.
C:\Users\poscouser\AppData\Roaming\pip
C:\Users\poscouser\AppData\Roaming\Python\Python36\Scripts
py -m virtualenv C:\ProgramData\venv36_2
C:\ProgramData\venv36_2\Scripts\activate