Solve the problem of installing WHL 2 2

tags: python  jupyter  windows

1. Rely on the relationship to report an error solution

 

(1) Update Numpy version in Anaconda Prompt:

conda install numpy==1.17.4

View numpy version: activated tensorflow in CMD and finding

# View python version
python --version
 # Create a TensorFlow environment corresponding to Python
conda create -n tensorflow python=3.8.8
 # View environment variables
conda info --envs
 #Or tensorflow
activate tensorflow
 # 
pip show numpy
 #quit
deactivate

(2) Another installation/update method:

pip install --user --default-timeout=1000 gast==0.3.3 -i https://pypi.tuna.tsinghua.edu.cn/simple

2. Try to install MINEPY at Anaconda Prompt

pip install --default-timeout=1000 --target=E:\ProgramData\Anaconda3\Lib\site-packages F:\DownLoad\minepy-1.2.6-cp38-cp38-win_amd64.whl

The result is:

3. Not still in the jobyter; try to install on the job with Conda

(1) The following two attempts are still not available

(2) It is found that it may not be installed in the site-packages of Jupyter

# T
import numpy as np
print(np.__version__)
print(np.__file__)

It is indeed different from the previous installation path:

(3) Repeat the previous operations under this path; copy to folders, solve dependence, and specify the path;

Solution dependencies:

pip install --default-timeout=1000 --target=C:\Users\lenovo\AppData\Roaming\Python\Python38\site-packages numpy==1.17.4

During the installation process, the Numpy version is still displayed

Install the correct version of Numpy

Intelligent Recommendation

Solve the problem of installing tensorflow

1. Note that generally pip install tensorflow will report an error 2. Can be installed directly 3. Solutions for error reporting...

Solve the problem of installing Docker

Install Docker in Ubuntu (complete installation steps are attached) 1. Failed to add Docker official GPG key   Solution: Visit the website below to download the official public key   Accordi...

Solve the problem of installing MySQL5.7.38

ubuntu version: 18.04 64 -bit mysql version:5.7.38 Question 1: After the MySQL is downloaded and installed, you can directly enter without a password. Modify the user name operation: Modify the passwo...

Solve the problem of installing pymssql

An error occurred during installation In environment python3.5.2, it is a syntax error when an error is reported. After checking, the version of pymssql-2.2.5 should be newer, and the corresponding py...

Python Function Dictionary Series 2-Funcdict Installation Pack (WHL Production)

instruction The first version of FUNCDICT is finally completed, it isMarch last yearAn idea. Although the time is long, it is more than expected. The function dictionary in the concept of last year sh...

More Recommendation

Conda Installing local WHL files

Conda Install local WHL files (OpenCV, Pytorch, TorchVision, etc.) Because online installation always encounters an error, directly offline download and installation Offline installation error may be ...

Python study notes 2-the problem of installing matplotlib on win

The matplotlib library is mainly used to draw charts, but I encountered a problem when installing it. The prompt is: ImportError: No module named'matplotlib' I installed anaconda. The principle said t...

Node-Sass Installing Blood Tears History (2) - Analysis Problem Cause

JoinNode-Sass installed blood tears history (1) - Background and pre-preparation Previous step, reduce the local Node version, replace the Node-Sass version, or can still run normally. But it is still...

Solve the problem of Alibaba Cloud host attack 2

Solve the problem of Alibaba Cloud host being attacked Detailed solution in/etc/profile Added in the file: sed -i 's/^\([^#].*scrypt\)/# \1/' /etc/rc.local sed -i 's/^\(\/mnt\/linsx\)/# \1/' /etc/rc.l...

2. Solve the problem of no function overload in js

There is no overload in js: A function with the same name, the last declared function will overwrite the previously declared function Solve the problem of no overload in js: 1. Solve the different num...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top