Hello DIRAC users, I was trying to install an extension using the python-pip that came with this installation "./dirac-install -r v6r20p5 -i 27 -g v14r1" and I always encounter an SSL error [mhogan@localhost dirac_ui]$ pip install numpy Collecting numpy Could not fetch URL https://pypi.python.org/simple/numpy/: There was a problem confirming the ssl certificate: [Errno 2] No such file or directory - skipping Could not find a version that satisfies the requirement numpy (from versions: ) No matching distribution found for numpy [mhogan@localhost dirac_ui]$ Do other people have issues with the python bundled with DIRAC? Cheers, Matt
Hi Matt, Yes I always see the exact same problem. I think it's due to the fact they bundle pip 9.0.1 for which this is a known bug (I assume that you have this version also). It's also ancient compared to the pip 18 that they are currently on. I find that the best solution is to use my own version of pip with my system version of python (assuming you have python 2.7 system wide) and then do a local user install of the extra package. i.e. pip install --user numpy This way the extra packages are installed in ~/.local (Linux, not sure where on mac sorry ;-) ) but they are still picked up when you have sourced the dirac bashrc and are in the dirac python environment. hope that helps Cheers Alex On 12/09/18 21:21, Matt Hogan wrote:
Hello DIRAC users,
I was trying to install an extension using the python-pip that came with this installation "./dirac-install -r v6r20p5 -i 27 -g v14r1" and I always encounter an SSL error
[mhogan@localhost dirac_ui]$ pip install numpy Collecting numpy Could not fetch URL https://pypi.python.org/simple/numpy/: There was a problem confirming the ssl certificate: [Errno 2] No such file or directory - skipping Could not find a version that satisfies the requirement numpy (from versions: ) No matching distribution found for numpy [mhogan@localhost dirac_ui]$
Do other people have issues with the python bundled with DIRAC?
Cheers, Matt
-- Dr. Alexander Richards High Energy Particle Physics Imperial College London Blackett 529 (020)-759-47802
participants (2)
- 
                
                Alexander Richards
- 
                
                Matt Hogan