question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Conda 1st time install conflicts with existing python install

See original GitHub issue

I tried:

conda create -n "eeg-notebooks"

conda activate "eeg-notebooks"

conda install git

conda install pip

git clone https://github.com/NeuroTechX/eeg-notebooks

cd eeg-notebooks

pip install -r requirements.txt

but encountered errors on the last step, since it tried to use my existing python 2 install on my Mac.

@m9h helped me using a different set of instructions.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ErikBjarecommented, Dec 3, 2020

This is very surprising to me. If you ran conda activate "eeg-notebooks" in the same shell as you later ran pip then shouldn’t that override any system pip install by placing the conda env bin path early in the $PATH env var? (that’s at least how plain venv and similar behave)

Curious how that wasn’t the case. What was the difference that fixed it for you?

0reactions
ErikBjarecommented, Dec 4, 2020

@retiutut I made a docs PR #51 that should help avoid similar issues in the future.

Read more comments on GitHub >

github_iconTop Results From Across the Web

System Python conflict between Anaconda and existing ...
The solution is simply to uninstall python (for example, run the original python installer and select the uninstall option).
Read more >
conda refuses to install python 3.9.0 with conflicts even if there ...
conda refuses to install python 3.9.0 with conflicts even if there are no installed packages and unfortuneatly update from python 3.8 is impossible...
Read more >
Will Anaconda conflict with my already existing Python ... - Quora
Anaconda injected itself into my .bashrc , masking python from the system and a later installation via brew . This was python2 from...
Read more >
Managing packages - Conda
To install a specific package such as SciPy into an existing environment "myenv": ... so that all of the dependencies are installed at...
Read more >
CondaInstall - GNU Radio Wiki
If this is your first time using conda, we recommend miniforge for the base installation. This provides a minimal environment to run conda...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found