Git Product home page Git Product logo

Comments (3)

canergen avatar canergen commented on July 1, 2024

Can you check that scVI is imported from the same environment in which you are uninstalling it? It would be easier to check that you can uninstall and the import fails and the reinstall.
However, PyPI might create issues in this environment and using a new environment would then be the easiest way to fix it.

from scvi-tools.

Sun-storm avatar Sun-storm commented on July 1, 2024

Okay, so I tried to check the python environment R is using, which I believe should be this:

`> py_config()
python: /Library/Frameworks/Python.framework/Versions/3.12/bin/python3
libpython: /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/config-3.12-darwin/libpython3.12.dylib
pythonhome: /Library/Frameworks/Python.framework/Versions/3.12:/Library/Frameworks/Python.framework/Versions/3.12
version: 3.12.1 (v3.12.1:2305ca5144, Dec 7 2023, 17:23:39) [Clang 13.0.0 (clang-1300.0.29.30)]
numpy: /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/numpy
numpy_version: 1.26.3
scanpy: [NOT FOUND]

NOTE: Python version was forced by use_python() function`

And compared it to the environment I installed scvi-tools in:

/Library/Frameworks/Python.framework/Versions/3.12/bin/python3 -m pip install scvi-tools

Both are the same, so I would say they are the same environment.
But when I try to check what is installed in that environment I don't actually get an answer

`➜ ~ /Library/Frameworks/Python.framework/Versions/3.12/bin/python3 -m pip list

➜ ~ `

So maybe there is indeed something wrong with the environment? ^^>

from scvi-tools.

Sun-storm avatar Sun-storm commented on July 1, 2024

I created a new environment with Conda, reinstalled scvi-tools and now it works. Thank you for your suggestions and help :))

from scvi-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.