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 scancode-toolkit" gives error #1778
Comments
Thank you. Great catch! |
These are a casue of the pip installation issue Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Otherwise the latest PyPI gest confused at times. Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
What's the actual issue here @pombredanne . |
@aj4ayushjain thank you for the feedback. All has been fixed now. The key thing was actual re-release of the latest binary plugins for extractcode/typecode |
@pombredanne Repository's README says that PYthon 2 is required? Is this still true? If it is, you should really be fixing this as Python 2.7 EOL is in 2020. |
@filips123 good catch! |
@pombredanne So the only need it to add a notice that boh Python 2.7 and 3.6+ are supported? If so, I can create PR. Are there any other places except README where this should be fixed? (update: Repository wiki also needs to be updated) Also, is 32-bit version of Python still needed? |
@filips123 :Scancode supports upto Python 3.6.8 only. Soon we will be add the support Python 3.7+ . |
@Abhishek-Dev09 Up to 3.6.8 or only 3.6.8? Also, is 64-bit on Windows now supported? |
@filips123 Yes, upto 3.6.8 but 3.6.8(recommended) and 64 bit on window. |
@Abhishek-Dev09 So 32-bit Python 2.7 and 64-bit Python up to 3.6.8? If so, I can create PR with corrections. Also, what exectly is wrong with 3.7+? |
@filips123 Sorry, we don't support x64 https://github.com/nexB/scancode-toolkit/blob/develop/azure-pipelines.yml#L390 and for info see azure ci. For py 3.7 #1631 (comment) |
Ok, so just 32-bit PYthon from 2.7 up to 3.6.8? I'm currently preparing PR so I will include this in it. And please support 64-bit and Python 3.7+ when possible as those limitations makes quite a lot harder to use ScanCode. |
@filips123 : You can test on 64 bit architecture for confirmation and raise a ticket of that problem if exists. For now we are working on #1703 ,no need to look for version of Python and then we upgrade python version(3.7+) as well. |
@pombredanne @Abhishek-Dev09 I created #1807. |
@filips123 : @max-te already working on python 3.7 for intbitset inveniosoftware-contrib/intbitset#62 and inveniosoftware-contrib/intbitset#64 |
@filips123 Thank you ++... FWIW we are not really supporting 32 bits... or rather this is complicated:
|
@filips123 It s working fine now. |
These are a casue of the pip installation issue Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Otherwise the latest PyPI gest confused at times. Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
@AyanSinhaMahapatra can you double check things are OK now and then close this? |
@pombredanne python 3.6 virtualenv installation on ubuntu20.04 gives this error:
|
@AyanSinhaMahapatra can you try with |
@pombredanne these are the exact commands I used - https://scancode-toolkit.readthedocs.io/en/latest/getting-started/install.html#installation-as-a-library-via-pip, i.e. yes I used The same also happened on python3.8 also. |
@AyanSinhaMahapatra Thanks! Do you mind to try this too: mkdir scancode-tmp
curl -o scancode-tmp/virtualenv.pyz https://bootstrap.pypa.io/virtualenv/virtualenv.pyz
python3.8 scancode-tmp/virtualenv.pyz scancode-tmp
source scancode-tmp/bin/activate
pip install scancode-toolkit[full] and either with 3.6 or 3.8 ? And also tell what show up with: |
@pombredanne this^ works and runs fine though. The python versions are 3.6.12 and 3.8.5 in both cases, the previous method and using the virtualenv.pyz . Is this an issue on my side? Similar to this report, |
@AyanSinhaMahapatra you need to run now |
we reverted that in the latest release v21.3.31 and now |
Description
Please leave a brief description of the bug or feature request:
Creating a Python 3 virtualenv and running
pip install scancode-toolkit
generates this errorWhen I was testing a few days before, the Error was
The exact commands were
The scancode-toolkit downloaded from PyPI is of version 3.1.1
[On Python 3.6.8 and pip 19.3.1]
The python 2 pip install obviously works fine, and installs Scancode-Toolkit 3.0.2
System configuration
For bug reports, it really helps us to know:
The text was updated successfully, but these errors were encountered: