You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running into some weird behavior when attempting to install PyHARP. It seems that users should be able to install PyHARP to their python environments with pip install git+https://github.com/audacitorch/pyharp.git#egg=pyharp.
With this command, PyHARP is successfully cloned, built, and installed, but for some reason import pyharp gives:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'pyharp'
Interestingly, the import works if PyHARP is installed with the command pip install -e git+https://github.com/audacitorch/pyharp.git#egg=pyharp. However, this clones PyHARP underneath a new directory src created in the current working directory. This is undesirable behavior, to me at least.
Note that manually cloning and installing (as demonstrated in the README) also works, but there needs to be an installation method than can be condensed to one line of code in a requirements.txt file for HuggingFace.
In the past I have had no issues with pip install git+https://github.com/<username>/<reponame>, so I'm wondering why the -e flag is required and why it is creating a src directory.
The text was updated successfully, but these errors were encountered:
I am running into some weird behavior when attempting to install PyHARP. It seems that users should be able to install PyHARP to their python environments with
pip install git+https://github.com/audacitorch/pyharp.git#egg=pyharp
.With this command, PyHARP is successfully cloned, built, and installed, but for some reason
import pyharp
gives:Interestingly, the import works if PyHARP is installed with the command
pip install -e git+https://github.com/audacitorch/pyharp.git#egg=pyharp
. However, this clones PyHARP underneath a new directorysrc
created in the current working directory. This is undesirable behavior, to me at least.Note that manually cloning and installing (as demonstrated in the README) also works, but there needs to be an installation method than can be condensed to one line of code in a
requirements.txt
file for HuggingFace.In the past I have had no issues with
pip install git+https://github.com/<username>/<reponame>
, so I'm wondering why the-e
flag is required and why it is creating asrc
directory.The text was updated successfully, but these errors were encountered: