vfong1982 Posted March 8, 2018 Posted March 8, 2018 Hi, I am struggling trying to get a Python library called Pymunk 5.3.2 installed on a Python 3.6.0 installation using pip. I have tried using pip install pymunk-5.3.2-py2.py3-none-win_amd64.whl and it's constantly coming up with: Fatal Error in Launcher: Unable to create process using '"' I have tried a repair installation to no avail - this is driving me crazy! (even tried copying the WHL file to the same directory as the scripts directory)
Steve21 Posted March 8, 2018 Posted March 8, 2018 It's normally one of two things, either you have a space in the path where you're trying to run it from, or you haven't upgraded pip if on an older version Steve
vfong1982 Posted March 8, 2018 Author Posted March 8, 2018 No spaces in the path, I tried installing it from the same scripts directory. I cannot seem to work out how to upgrade pip either - every command I run involving pip just returns the same error, regardless of what switches I add to it. It feels like something is fundamentally broken.
Steve21 Posted March 8, 2018 Posted March 8, 2018 The pip path error would be linked to where pip is installed, so like a space in program files etc, rather than the module. So putting the module in the pip path won't help if there's still a space etc. What's the full path to where you've installed it? Steve
Steve21 Posted March 8, 2018 Posted March 8, 2018 That part should be fine then, and if you try to update pip? python -m pip install -U pip Steve
vfong1982 Posted March 8, 2018 Author Posted March 8, 2018 Requirement already up-to-date: pip in c:\python36-32\lib\site-packages No difference, PIP still won't do anything useful
Steve21 Posted March 8, 2018 Posted March 8, 2018 If the python command works fine it's deffo a problem in the setup You got something silly like two versions of python installed? If you just want the one package installed for now you should be able to do it like this python -m pip install pymunk-5.3.2-py2.py3-none-win_amd64.whl What's your environment variables set as for python/pip? Steve 1
vfong1982 Posted March 8, 2018 Author Posted March 8, 2018 There are no references to the Python installation directory in PATH environmental variable. I added it, and managed to install the library... phew! Ideally I need to run a batch file to fix the path variable on several computers, any idea what the command line would be?
Steve21 Posted March 8, 2018 Posted March 8, 2018 Do you mean manually run, or GPO wise? Can do it both ways Steve
vfong1982 Posted March 8, 2018 Author Posted March 8, 2018 Just a simple batch file - I'm actually intending to run it as a program on SCCM
pete Posted March 8, 2018 Posted March 8, 2018 Using pygame as an example, we call: pip install \\server\share\python\pythonversion\modules\pygame-1.9.3-cp36-cp36m-win_amd64.whl --no-cache-dir And based installed / installable on the presence of python (dependency) and whether C:\Program Files\python36\lib\site-packages\pygame-1.9.3.dist-info\description.rst exists or not.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now