Problems with Pycharm installing Setuptools

I recently played with various versions of Python 2.7, and I ended up working with PyCharm. Firstly, I uninstalled and reinstalled Python and Pycharm several times without any luck.

I have the feeling that the configuration tools are the main problem, but I can’t delete it correctly ...

Below is the error Pycharm gives, and I see similar errors trying to fix setuptools manually.

Does anyone know what is wrong with my environment?

Install package failed. The following command was executed: c:\users\ask\appdata\local\temp\tmpf3zyjdpycharm-management\setuptools-1.1.5\setup.py install The error output of the command: Traceback (most recent call last): File "c:\users\ask\appdata\local\temp\tmpf3zyjdpycharm-management\setuptools-1.1.5\setup.py", line 204, in <module> dist = setuptools.setup(**setup_params) File "C:\Python27\lib\distutils\core.py", line 152, in setup dist.run_commands() File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands self.run_command(cmd) File "C:\Python27\lib\distutils\dist.py", line 972, in run_command cmd_obj.run() File "c:\users\ask\appdata\local\temp\tmpf3zyjdpycharm-management\setuptools-1.1.5\setuptools\command\install.py", line 73, in run self.do_egg_install() File "c:\users\ask\appdata\local\temp\tmpf3zyjdpycharm-management\setuptools-1.1.5\setuptools\command\install.py", line 82, in do_egg_install easy_install = self.distribution.get_command_class('easy_install') File "c:\users\ask\appdata\local\temp\tmpf3zyjdpycharm-management\setuptools-1.1.5\setuptools\dist.py", line 363, in get_command_class self.cmdclass[command] = cmdclass = ep.load() File "c:\users\ask\appdata\local\temp\tmpf3zyjdpycharm-management\setuptools-1.1.5\pkg_resources.py", line 2108, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "c:\users\ask\appdata\local\temp\tmpf3zyjdpycharm-management\setuptools-1.1.5\setuptools\command\easy_install.py", line 34, in <module> from setuptools.sandbox import run_setup File "c:\users\ask\appdata\local\temp\tmpf3zyjdpycharm-management\setuptools-1.1.5\setuptools\sandbox.py", line 209, in <module> _EXCEPTIONS.append(GetGeneratePath()) File "win32com\client\gencache.pyc", line 131, in GetGeneratePath AssertionError: Why do you want the genpath for a readonly store? 
+8
python setuptools pycharm
source share
1 answer

I finally managed to solve this problem. I installed the library called Automa around the same time I started getting this problem. With the installation, I had to add the PYTHONPATH entry, and when I deleted it, the configuration tools were able to install again.

I added PYTHONPATH again, and I can still install the libraries using setupTools / Pip. Thus, he should have not liked the installation path.

I am very happy to be back to square one again !!!! :)

+5
source share

All Articles