#vscode virtual environment doesnt have a 'Scripts' folder

1 messages · Page 1 of 1 (latest)

vale dew
#

I started making my second bot, but when i made the environment for it, it does not have a Scripts folder (and thus no Scripts\activate). What do I do to fix this

#

ive tried remaking the environment, both deleting and reinstalling, and reinstalling without deleting. same outcome with no Scripts folder

C:\Users\xxx\Desktop\(bot folder)>python -m venv env
Looking in links: c:\Users\xxx\AppData\Local\Temp\tmp4106g69i
Requirement already satisfied: setuptools in c:\users\xxx\desktop\(bot folder)\env\lib\python3.10\site-packages (63.2.0)
Requirement already satisfied: pip in c:\users\xxx\desktop\(bot folder)\env\lib\python3.10\site-packages (22.2.1)

C:\Users\xxxx\Desktop\(bot folder)>.\env\Scripts\activate
The system cannot find the path specified.
faint nymph
#

Have you verified it's actually the Scripts folder that's missing?

#

I think there's a .bat file in there, and I know there's a .ps1 file in there. If you open Powershell you can use the latter

#

VSC should use Powershell by default though I believe

vale dew
#

worked, i was using command prompt to open the environment for the other bot

#

but now i get a 'no hikari' error despite having just reinstalled it

line 1, in <module>
    import hikari
ModuleNotFoundError: No module named 'hikari'
#

tried reinstalling hikari again and i get this. i installed wheel and setuptools tho

faint nymph
#

What Python version are you using?

vale dew
#

3.10.6

faint nymph
#

Hm, okay

#

Can you show the full error?

vocal haven
#

Try updating pip

magic dagger
#

I'm not sure whats wrong with not being able to pip install anything tho.

vale dew
proper herald
#

This is definitely weird

#

@vale dew try installing wheel

#
pip install wheel
#

Sorry that it took to long to answer!!

#

Oh, you mentioned you did

#

But in the environment too?