well, it looks like i was wrong about that too. I just created a new venv and didnt switch to its directory, and installed esptool via `pip3 install esptool`, and in another term i couldnt find it on my system (except for of course in venv, and in the terminal that was activated with the specific venv).
Is there some specific way that youre supposed to install packages that you want to only be installed in your venv?
[SOLVED]Issues running on ESP8266MOD(NODEMCU board)
- MostlyHarmless
- Posts: 166
- Joined: Thu Nov 21, 2019 6:25 pm
- Location: Pennsylvania, USA
Re: [SOLVED]Issues running on ESP8266MOD(NODEMCU board)
pip is supposed to work only on your currently active venv. So if you install something via pip while active in one venv, those changes will show up in another "terminal" that is active in the same venv.
- MostlyHarmless
- Posts: 166
- Joined: Thu Nov 21, 2019 6:25 pm
- Location: Pennsylvania, USA
Re: [SOLVED]Issues running on ESP8266MOD(NODEMCU board)
It is really all about directory structures and environment variables.
Re: [SOLVED]Issues running on ESP8266MOD(NODEMCU board)
right! thank you.
now im trying to figure out why i cant use idle in the venv. Ive tried looking for an answer through google, but the answer that i keep finding is to do `python -m idlelib` in the venv, but when i do it i get this error:
i apologize if im sounding very plebbish. I am extremely new to programming, and i just recently started my journey with Linux about 6 months ago and have been trying to learn this all at once haha. but i feel like i should understand HOW to use it on a system, instead of just learning how to program.
now im trying to figure out why i cant use idle in the venv. Ive tried looking for an answer through google, but the answer that i keep finding is to do `python -m idlelib` in the venv, but when i do it i get this error:
Code: Select all
/home/dps/.venv/testing/bin/python: No module named idlelib