简体   繁体   中英

Anaconda installation messed up the existing Python packages

For my project requirements I had installed Python packages like Jira and Bitbucket to connect to the servers using their API wrappers. After I installed Anaconda all the existing packages stopped working. Now Im getting No Module Found error for both Bitbucket and JIRA although the modules are already installed

For example:

pip3 install bitbucket-python

gives me that requirement is already satisfied. But when I run the code I get:

No module named "bitbucket" found

The same code was running fine 2 days ago before I installed anaconda.

Please help.

Now you have different versions of python and pip in your system. You have to make sure you are running correct version of the command. In my system with conda installed and activated pip3 refers to pip for system python. and pip for active conda python.

Try this: pip install bitbucket-python

you can use which command to see which binary is getting executed for example on my system.

dhananjay@ideapad:~$ which python
/home/dhananjay/.conda/bin/python

dhananjay@ideapad:~$ which pip
/home/dhananjay/.conda/bin/pip

dhananjay@ideapad:~$ which pip3
/usr/bin/pip3

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM