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

Update the code for pip and conda install #133

Open
MagnusHallas opened this issue Jan 31, 2025 · 3 comments
Open

Update the code for pip and conda install #133

MagnusHallas opened this issue Jan 31, 2025 · 3 comments

Comments

@MagnusHallas
Copy link

Please complete this report in full and as much detail as possible. It will help with getting the bug fixed far sooner!

Describe the bug

When I tried to pip and conda install the code, I got a lot of errors. I found that it had installed an older version of the code, by comparing to the one on github.

To Reproduce

Please include the specific steps (including all code) you performed, so that we can check if the behaviour can be reproduced:
Run the pip install or the conda install as in the documentation. Then compare the code with the code on github.

Setup

Windows 11, using anaconda prompt terminal.

@HobnobMancer
Copy link
Owner

Hi! Sorry cazy_webscraper isn't installing properly.

I'm really sorry but I am not able to replicate this issue.

I've just implemented a fresh install in a new conda environment and it installed the latest version (2.3.0.4)

conda create -n cw_test -y
conda install bioconda::cazy_webscraper -y
cazy_webscraper --version

    =====================cazy_webscraper Version Information=====================
    cazy_webscraper version: cazy_webscraper version: 2.3.0.4

    Third party tools used by cazy_webscraper:
    beautifulsoup4: 4.12.3
    biopython: 1.85
    bioservices: 1.11.2
    html5lib: 1.1
    lxml: 5.3.0
    mechanicalsoup: 1.2.0
    numpy: 2.0.2
    pandas: 2.2.3
    requests: 2.32.3
    saintBioutils: 0.0.25
    sqlalchemy: 1.4.20
    tqdm: 4.67.1

Typically I work on Linux so I don't know if there are additional configuration options you need for Anaconda to work nicely on Windows 11.
Have you tried specifying the version you want to install?

conda install bioconda::cazy_webscraper=2.3.0.4

I also recommend double checking the version of (mini/ana)conda you have installed. I can't think of an obvious reason why it would not default to the latest release of cazy_webscraper on the anaconda server other than issues with dependencies, so maybe try making sure all dependencies are up to date?

@MagnusHallas
Copy link
Author

I made it work by installing the github version. I'm not a pro at python and in fact, I'm trying to use the cazy_webscraper in an intro to python course. But thank you for the reply.

@HobnobMancer
Copy link
Owner

I'm glad that worked!! I'm really sorry I couldn't do more to help. Please do reach out again if you have any other issues 😃
One tip that might help, maybe, is that I normally run a linux subsystem on Windows, typically using Ubunut (you can install it straight from the Microsoft store for free) then I'm working in straight linux on my PC and I can run Ubuntu terminals in IDEs such as VSCode, PyCharm and Intellij.

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