#πŸ”’ How to use requirements.txt

30 messages Β· Page 1 of 1 (latest)

unreal crater
#

trying to import the stuff in requirements.txt into visual studio, but I've barely used python before and I keep getting errors no matter which approach I try.

pip install requirements.txt -r

doesn't work for me as I was told to do and creating a new environment creates it but visual studio doesn't let me select it.

fluid parcelBOT
#

@unreal crater

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

flat rune
frank wigeon
#

you got the -r in the wrong place

#

pip install -r requirements.txt

#

what errors do you get?

flat rune
#

alr grain got this

unreal crater
tired marsh
icy yoke
unreal crater
unreal crater
icy yoke
tired marsh
#

In cmd prompt type cd and then your folder name where there is file

unreal crater
graceful sierra
#

What are the links?

unreal crater
#

lemme find them here

#

-e git+https://github.com/SingleZombie/DL-Demos.git@c4fe857197bb6d044656fb5da25f8b4c970bcee4#egg=dldemos

graceful sierra
#

And what's the error with that?

unreal crater
#

ERROR: /home/jiahao/OpenLane-V2 is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with bzr+http, bzr+https, bzr+ssh, bzr+sftp, bzr+ftp, bzr+lp, bzr+file, git+http, git+https, git+ssh, git+git, git+file, hg+file, hg+http, hg+https, hg+ssh, hg+static-http, svn+ssh, svn+http, svn+https, svn+svn, svn+file).

regal marsh
#

Do you have git installed?

unreal crater
#

ah do I have to have github installed?

graceful sierra
#

not github

#

git

unreal crater
#

alr ill get that thanks

regal marsh
#

does the github cli (gh) even work without git?

graceful sierra
#

I think it installs Git itself and hands of to it for the most part

fluid parcelBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.