Anaconda is fine, but I'm thinking of starting TensorFlow in the customer's LAN environment (on-premises) with Miniconda and processing it. After installing Miniconda, I will forget the command I typed, so make a note here as a reminder.
Windows10 Anaconda installed Miniconda installed PyCharm installed
Please refer to the link below. Directions for operating Miniconda after a long time
Create a virtual environment
conda create -n [Virtual environment name] python=3.6
(Note 1)
Enter the virtual environment
conda activate [Virtual environment name]
Check the installed libraries
conda list
#Install the library to use
conda install numpy
conda install pandas
conda install tensorflow
conda install keras
ttps://anaconda.Check the download site on org
conda install -c menpo opencv
(Note 2)
conda list
conda install -c conda-forge pdf2image
conda install -c brianjmcguirk pyocr
python -m pip install pyarmor
(Note 3)
conda install openpyxl #Added a package to operate excel
conda install pywin32
(Caution 1) If python = 3.7, an error will occur when installing tensorFlow, so it seems to be a standard to set python = 3.6. (Caution 2) -c conda-forge specifies the channel.
conda install -c conda-forge opencv
Then, the following command will result in an error.
cv2.namedWindow("img", cv2.WINDOW_NORMAL)
So
conda install -c menpo opencv
And said. (Many sites recommend conda-forge, but I got an error in my case, so I used menpo.) It is better to check it on anaconda.org before entering it. (Caution 3) When I check pyramor on anaconda.org, nothing comes out, so I have no choice but to pip install ... However, in my case, pip install pyarmor resulted in an error. Specifically, when trying to obfuscate with pyrarmor, Fatal error in launcher: Unable to create process using Error will appear, so in order to avoid this, it is better to do it like this. Reference) https://stackoverflow.com/questions/24627525/fatal-error-in-launcher-unable-to-create-process-using-c-program-files-x86
That's 5 gigabytes.
In addition, it's a personal note ...
#Match the path of the Miniconda to operate.(In my case F: Drive)
#This time, I want to conda install directly to Miniconda on usb.
C:\Users\[username]>F:\Miniconda3\Scripts\activate.bat
(base) C:\Users\[username]>conda activate test
(test) C:\Users\[username]>conda info
(Check it just in case)
active environment : test
active env location : F:\Miniconda3\envs\test
shell level : 2
user config file : C:\Users\[username]\.condarc
populated config files : C:\Users\[username]\.condarc
conda version : 4.7.12
(test) C:\Users\[username]>conda list
Make sure the package you want to include is not in the list
(test) C:\Users\[username]>conda install keras
If usb already has Miniconda I think there are two choices, whether to overwrite 5GB on usb or add it in this way.
Recommended Posts