Skip to content

Error while installing packages #1

Description

@cgalceran

Hi guys,

I've been trying to run your project locally, followed the steps on your ReadMe file, but I can't seem to get it running. Would you help me get started? Any advice would be appreciated.

These are the commands I ran:

  1. Cloned the repo
  2. Created a virtual env
  3. Created a .env file
  4. Ran 'pip install -e ."
  5. Ran src/data/make_interim_pickle_files.py

This is the point where I'm getting an error, python does not find any modules:

  • I've tried pip install -r requirements.txt and I get the error below:

ERROR: git+git@github.com:av-maslov/solid-disco.git@6ed85c3d400bc7746adfbd8e5eeeed8d5b742e34#egg=src 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)

I've also tried these steps to see if I could get it to run:

  • Ran make requirements and same error as above.

> (venv) MacBook-Pro:Revisiting-the-Tag-Relevance-Prediction-Problem$ make requirements
> python3 test_environment.py
> >>> Development environment passes all tests!
> python3 -m pip install -U pip setuptools wheel
> Requirement already satisfied: pip in ./venv/lib/python3.11/site-packages (23.2.1)
> Requirement already satisfied: setuptools in ./venv/lib/python3.11/site-packages (68.0.0)
> Requirement already satisfied: wheel in ./venv/lib/python3.11/site-packages (0.41.0)
> python3 -m pip install -r requirements.txt
> ERROR: git+git@github.com:av-maslov/solid-disco.git@6ed85c3d400bc7746adfbd8e5eeeed8d5b742e34#egg=src 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).
> make: *** [requirements] Error 1

  • Then changing -e git+git@github.com:av-maslov/solid-disco.git@6ed85c3d400bc7746adfbd8e5eeeed8d5b742e34#egg=src for -e git+https://github.com/av-maslov/solid-disco.git@6ed85c3d400bc7746adfbd8e5eeeed8d5b742e34#egg=src in the requirements.txt file
  • Ran make requirements again, and I get this error below:
Obtaining src from git+https://github.com/av-maslov/solid-disco.git@6ed85c3d400bc7746adfbd8e5eeeed8d5b742e34#egg=src (from -r requirements.txt (line 68))
  Cloning https://github.com/av-maslov/solid-disco.git (to revision 6ed85c3d400bc7746adfbd8e5eeeed8d5b742e34) to ./venv/src/src
  Running command git clone --filter=blob:none --quiet https://github.com/av-maslov/solid-disco.git /Users/cgalceran/Dev/freecast/Revisiting-the-Tag-Relevance-Prediction-Problem/venv/src/src
  remote: Repository not found.
  fatal: repository 'https://github.com/av-maslov/solid-disco.git/' not found
  error: subprocess-exited-with-error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions