mkvirtualenv: Too many levels of symbolic links
Strangely, I ran into this when I tried to create a virtualenv with a name that already existed. Solution to remove the old and create a new one: rmvirtualenv old-one mkvirtualenv new-one
Strangely, I ran into this when I tried to create a virtualenv with a name that already existed. Solution to remove the old and create a new one: rmvirtualenv old-one mkvirtualenv new-one
You can for sure use conda to create virtual environments for nodejs programs. $ conda create -yn myapp nodejs $ conda activate myapp $ node –version v8.11.3 $ npm –version 5.6.0 And then in the environment myapp, you can do all of your app development and once you are done, removal is also easy: $ … Read more
I was facing the same error on my MacBook Air(macOS BigSur) Laptop while installing the Numpy package via integrated terminal of VS Code. And I found the solution: So previously I was using older version of pip i.e. 19.2.3. But when I upgraded it to the latest version using command pip install –upgrade pip and … Read more
I had the same issue coming from development environments on OS X where I could create Python 3 virtual environments by simply invoking virtualenv and the path to the target directory. You should be able to create a Python 3.x virtual environment in one of two ways: Install virtualenv from the PyPi as you’ve done … Read more
By design, you can’t make the tests_requires or the setup_requires entries go into the virtual environment. The idea is to separate what is required for performing tests/setup and what is required to actually use the package being installed. For example, I may require that the “coverage” module be needed for running tests on my package, … Read more
From what I can see from this question and this response on the Python mailing list it looks like this is due to numerous naming conventions throughout the Python packaging system, and the compatibility between them. Pythons setuptools runs safe_name which: Convert an arbitrary string to a standard distribution name Any runs of non-alphanumeric/. characters … Read more
Try removing or renaming the .pydistutils.cfg file in your home directory, e.g. by renaming with mv ~/.pydistutils.cfg ~/oldpydistutils.cfg I’m putting a detailed answer here to help others, but the original credit goes to this answer. If you know what specifically in .pydistutils.cfg was causing the problem, let me know! I was having the same issue: … Read more
Why not simply looking for existing virtual environments? To check where they are stored you can activate one virtual env and get its path: $pipenv shell $pipenv –venv > /path/to/existing_venvs/current_venv ls /path/to/existing_venvs/ > cython-pr4GGvfQ/ openCV-f4drK-E5/ I don’t know if pipenv can store venvs in other places, but at least for me this is enough to … Read more
You can use passenv. If you pass the catch all wildcard * you have access to all environment variables from the parent environment: passenv=SPACE-SEPARATED-GLOBNAMES New in version 2.0. A list of wildcard environment variable names which shall be copied from the tox invocation environment to the test environment when executing test commands. If a specified … Read more