I'm having problems installing python modules PyX, I received the following error when using pip:
$ pip install PyX
Collecting PyX
Could not find a version that satisfies the requirement PyX (from versions: )
Some externally hosted files were ignored as access to them may be unreliable (use --allow-external PyX to allow).
No matching distribution found for PyX
Then I tried conda install, but it cannot locate it. I also searched and found nothing. Then I tried pip allow external - doesn't work on either Cygwin or cmd:
$ pip install --allow-external pyx pyx
Collecting pyx
Downloading https://downloads.sourceforge.net/project/pyx/pyx/0.14/PyX 0.14.tar.gz (2.5MB)
No files/directories in c:\cygwin\tmp\pip-build-vqqlqz\pyx\pip-egg-info (from PKG-INFO)
I've never seen such error before. Anyone here has some suggestion please (installed under Anaconda preferred)? Thank you very much in advance.
Okay here is one solution I just found. However, I still could not explain the previous errors.
Upon trying to manually install PyX (go to the local PyX directory):
So then I tried:
Then it worked. Thanks.
As of this writing, using the
--allow-external
flag will yield the following deprecation message:Executing
pip install pyx==0.12.1
should do.On OS X, you may receive the following error:
Using the
--user
flag should allow you to install the package:pip install pyx==0.12.1 --user