Code Monkey home page Code Monkey logo

Comments (9)

matthewspangler avatar matthewspangler commented on July 26, 2024 1

I had the same problem. Same error message. pip uninstall virtualenv and relying on the virtualenv package provided through apt worked for me.

from kresus_ynh.

nicofrand avatar nicofrand commented on July 26, 2024

Hi,

can you give the result of those commands please?

apt-cache policy python3-virtualenv
apt-cache policy virtualenv
pip3 show virtualenv
pip show virtualenv

from kresus_ynh.

Zen0man avatar Zen0man commented on July 26, 2024

Here the results of the commands/Voici le résultat des commandes :

apt-cache policy python3-virtualenv
python3-virtualenv:
Installed: (none)
Candidate: 20.4.0+ds-2+deb11u1
Version table:
20.4.0+ds-2+deb11u1 500
500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages

apt-cache policy virtualenv
virtualenv:
Installed: (none)
Candidate: 20.4.0+ds-2+deb11u1
Version table:
20.4.0+ds-2+deb11u1 500
500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages

pip3 show virtualenv
Name: virtualenv
Version: 20.16.5
Summary: Virtual Python Environment builder
Home-page: https://virtualenv.pypa.io/
Author: Bernat Gabor
Author-email: [email protected]
License: MIT
Location: /usr/local/lib/python3.9/dist-packages
Requires: distlib, platformdirs, filelock
Required-by: pipenv

ip show virtualenv
Name: virtualenv
Version: 20.16.5
Summary: Virtual Python Environment builder
Home-page: https://virtualenv.pypa.io/
Author: Bernat Gabor
Author-email: [email protected]
License: MIT
Location: /usr/local/lib/python3.9/dist-packages
Requires: distlib, platformdirs, filelock
Required-by: pipenv

from kresus_ynh.

nicofrand avatar nicofrand commented on July 26, 2024

from kresus_ynh.

Zen0man avatar Zen0man commented on July 26, 2024

Hi,

I executed the command you sended me, here the result :

sudo apt install virtualenv
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
python3-distlib python3-filelock python3-importlib-metadata
python3-more-itertools python3-virtualenv python3-zipp
The following NEW packages will be installed:
python3-distlib python3-filelock python3-importlib-metadata
python3-more-itertools python3-virtualenv python3-zipp virtualenv
0 upgraded, 7 newly installed, 0 to remove and 4 not upgraded.
Need to get 0 B/301 kB of archives.
After this operation, 1,340 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Selecting previously unselected package python3-distlib.
(Reading database ... 71244 files and directories currently installed.)
Preparing to unpack .../0-python3-distlib_0.3.2+really+0.3.1-0.1_all.deb ...
Unpacking python3-distlib (0.3.2+really+0.3.1-0.1) ...
Selecting previously unselected package python3-filelock.
Preparing to unpack .../1-python3-filelock_3.0.12-2_all.deb ...
Unpacking python3-filelock (3.0.12-2) ...
Selecting previously unselected package python3-more-itertools.
Preparing to unpack .../2-python3-more-itertools_4.2.0-3_all.deb ...
Unpacking python3-more-itertools (4.2.0-3) ...
Selecting previously unselected package python3-zipp.
Preparing to unpack .../3-python3-zipp_1.0.0-3_all.deb ...
Unpacking python3-zipp (1.0.0-3) ...
Selecting previously unselected package python3-importlib-metadata.
Preparing to unpack .../4-python3-importlib-metadata_1.6.0-2_all.deb ...
Unpacking python3-importlib-metadata (1.6.0-2) ...
Selecting previously unselected package python3-virtualenv.
Preparing to unpack .../5-python3-virtualenv_20.4.0+ds-2+deb11u1_all.deb ...
Unpacking python3-virtualenv (20.4.0+ds-2+deb11u1) ...
Selecting previously unselected package virtualenv.
Preparing to unpack .../6-virtualenv_20.4.0+ds-2+deb11u1_all.deb ...
Unpacking virtualenv (20.4.0+ds-2+deb11u1) ...
Setting up python3-more-itertools (4.2.0-3) ...
Setting up python3-filelock (3.0.12-2) ...
Setting up python3-distlib (0.3.2+really+0.3.1-0.1) ...
Setting up python3-zipp (1.0.0-3) ...
Setting up python3-importlib-metadata (1.6.0-2) ...
Setting up python3-virtualenv (20.4.0+ds-2+deb11u1) ...
Setting up virtualenv (20.4.0+ds-2+deb11u1) ...
Processing triggers for man-db (2.9.4-2) ...

Apparently I was missing some python dependence.

But unfortunately kresus still does not fit.
Here is the link of the log :

https://paste.yunohost.org/raw/itulisezob

from kresus_ynh.

nicofrand avatar nicofrand commented on July 26, 2024

from kresus_ynh.

kedare avatar kedare commented on July 26, 2024

I get the same issue, full logs: https://paste.yunohost.org/raw/uxifihedir

from kresus_ynh.

nicofrand avatar nicofrand commented on July 26, 2024

Can you try to install virtualenv @kedare?

Also

apt-cache policy virtualenv
pip3 show virtualenv
which virtualenv

from kresus_ynh.

nicofrand avatar nicofrand commented on July 26, 2024

Thank you for the feedback @matthewspangler!

As a package maintainer I don't think there is anything I can do to resolve this conflict, I cannot uninstall the pip version of virtualenv, which might have been installed by another package.

from kresus_ynh.

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.