Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pip install not working for python versions >=3.8 #472

Open
msayr opened this issue Oct 10, 2023 · 1 comment
Open

Pip install not working for python versions >=3.8 #472

msayr opened this issue Oct 10, 2023 · 1 comment

Comments

@msayr
Copy link

msayr commented Oct 10, 2023

Hi there,

I'm having issues installing with pip when using python versions above 3.7. I would use 3.7, but pychunkedgraph also requires graph-tool and I'm only able to install this using 3.8 and above for some reason. I'm new to this, so I apologize if there is an obvious fix, but wanted to share in case someone else has a similar experience.

I'm running Ubuntu 20.04 focal, inside conda venv. With python==3.8 this is the error:

(chunk) marcel@marcel:~/Documents$ python --version
Python 3.8.18
(chunk) marcel@marcel:~/Documents$ pip install PyChunkedGraph
Collecting PyChunkedGraph
  Using cached PyChunkedGraph-0.1.113.tar.gz (87 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [3 lines of output]
      error in PyChunkedGraph setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected end or semicolon (after version specifier)
          google-cloud-datastore>=1.8<=2.0dev
                                ~~~~~^
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Thanks for any advice!

@akhileshh
Copy link
Contributor

Hi, at this time the recommended way to run in a development environment is within a container. There is no need to install graph tool or other complex dependencies on your local system.

Python version will be upgraded to 3.11 - #462.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants