Jump to content

Recommended Posts

Posted

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)

Posted

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

Posted
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.
Posted

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

Posted

If the python command works fine it's deffo a problem in the setup :o 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

  • Thanks 1
Posted

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?

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...