![]() For linux/mac, you can use “ pip install pygame=1.9.6“ For windows, the command is “ conda install -c delichon pygame“. ![]() If you want to run them, install the pygam 1.9.x version. Step 6: (optional) Some of the python examples shipped with Carla uses pygame 1.x.x package. Next we are going to download that version and run it. From the picture, we can see this package will work with Carla 0.9.13. In the Anaconda prompt, while carlaEnv is activated, issue this command: pip install carla You will see which Carla version this package works with. Step 5: Now we will be installing the Carla python package, which is used to communicate with the Carla/Unreal Engine from Step 4: activate our new environment by the command “ conda activate carlaEnv“: The prompt shows which Anaconda environment it’s currently using to run python scripts in brackets (). The conda command will gather all the packages it needs to install for the python version and will prompt you to install them, type “y” and enter: Here carlaEnv is the name of the environment. ![]() The command looks like “ conda create -n carlaEnv python=3.7.9“. Step 3: Create a virtual environment with python 3.7.x or 3.8.x using the Anaconda Prompt. The problem has come up now when I uninstalled my original Python installation and moved to Anaconda.Step 1: Install Anaconda individual edition from ![]() I would just like to add that Pygame was originally working when I had a Python 2.7.5 installation. I'm not able to find any information (barely any) regarding this combination. Please tell me what I need to do to install Pygame with Anaconda. The distutils.cfg file in \Anaconda\Lib\distutils reads RuntimeError: The dependencies are linked to the wrong C runtime for Python 2.7 WARNING, DLL for portmidi library not found.įile "C:\Anaconda\lib\distutils\core.py", line 152, in setupįile "C:\Anaconda\lib\distutils\dist.py", line 953, in run_commandsįile "C:\Anaconda\lib\distutils\dist.py", line 972, in run_commandįile "C:\Anaconda\lib\distutils\command\install.py", line 563, in runįile "C:\Anaconda\lib\distutils\cmd.py", line 326, in run_commandįile "C:\Anaconda\lib\distutils\command\build.py", line 127, in run WARNING, DLL for SDL_mixer library not found. WARNING, DLL for vorbis library not found. WARNING, DLL for vorbisfile library not found. WARNING, DLL for SDL_image library not found. WARNING, DLL for SDL_ttf library not found. "mingw32: required environment variable MINGW_ROOT_DIRECTORY not set" is thrown.Īfter setting the environment variables, I ran the setup again and this time, the runtime error became "The dependencies are linked to the wrong C runtime for Python 2.7".Įrror: WARNING, DLL for smpeg library not found. On running the setup.py file ("python setup.py install"), a run time error What I originally wanted to do was create a conda package as per the instructions here As per those instructions, the package (pygame in this case) is first installed from source and then a conda package is created. So, I tried to install Pygame from source. msi does not recognize the Python version. I cannot run the Windows installer because Anaconda has not made registry entries for Python and the. I need to install Pygame 1.9.1 and this is not part of the conda repository. I have Anaconda 1.6.2, which uses Python 2.7.5, installed on a Windows 7 64-bit system. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |