Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip is not recognized - unable to install, issue at step 5, Windows #60

Open
Judi-A10 opened this issue Feb 12, 2025 · 3 comments
Open

Comments

@Judi-A10
Copy link

Hi, I went along with the installation guide for Windows until step 5: Install Cadnano2 dependencies: PyQt5 and networkx, where it told me to use pip. It reports the "pip is not recognized as an internal or external command, operable program or batch file" for all three versions of pip I have in the Scripts folder.

I have tried the following, before posting here:

  1. During Python installation (version 3.13.2), I did check the add to PATH.
  2. I also removed the length restriction for the path length, so that I can add the path if necessary.
  3. I tried uninstalling and reinstalling Python again.
  4. I tried fixing this by adding pip via the setx PATH command, which reported a success, and then I manually checked the PATH on my PC for the path to the Scripts folder containing pip - it is correct.
  5. In the Scripts folder, there is pip, pip3 and pip 3.13. I tried using all three with the command prompt, and it still tells me it recognises none of them.

I am new to Python and have little time or desire to learn to code, tbh, I just need to use caDNAno2 for my work, so any help, said in a way a non-coder can understand, would be greatly appreciated, thank you! :)

@sdouglas
Copy link
Contributor

You might be following an installation tutorial for an outdated version of the software.

What happens if you follow the windows instructions listed in the README file here:
https://github.com/douglaslab/cadnano2?

@Judi-A10
Copy link
Author

Image
This happens (first screenshot)

Image

, which I assume is good, but how do I run the program then?
When I try to just type in cadnano2 into the command prompt, it returns this (second screenshot)

@sdouglas
Copy link
Contributor

In principle you should be able to run pip install setuptools and then it will work. However, to avoid this issue for other users in the future I just updated cadnano2 to remove an unnecessary dependency on setuptools pkg_resources.

Try running pip install --upgrade cadnano2. It should install the latest version (2.4.13). Then you should be able to launch the app with the command cadnano2. If you experience any issues please pass along more screenshots.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants