kartaview / upload-scripts

Uploader tools for KartaView
MIT License
59 stars 30 forks source link

virtualenv error #136

Open hermann-san opened 1 year ago

hermann-san commented 1 year ago

Hi, I've tried to install the dependencies for the Script but I get an error message when I run the second line:

pip3 install virtualenv
virtualenv -p python3 .
source bin/activate
pip3 install -r requirements.txt

After I've run pip3 install virtualenv I get these warnings

WARNING: The script virtualenv is installed in '/home/hermann/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

I run virtualenv -p python3 . It says, virtualenv not found but can be installed with sudo apt install python3-virtualenv I've installed it and run virtualenv -p python3 . Then came an error message: AttributeError: module 'virtualenv.create.via_global_ref.builtin.cpython.mac_os' has no attribute 'CPython2macOsArmFramework'

From some internet reseach someone suggested

pip3 uninstall virtualenv
sudo pip3 uninstall virtualenv
sudo apt purge python3-virtualenv
sudo pip3 install virtualenv

That didn't help, so I started over again with

sudo pip3 uninstall virtualenv
sudo apt purge python3-virtualenv
pip3 install virtualenv
virtualenv -p python3 .

Then an error came with File or directory not found

I did export PYTHONPATH="/home/hermann/.local/bin" but it didn't help. It still says File or directory not found

do you have any sugggestions what else I could do to get this running?

I'm on Linux Mint 20.1 with Python 3.8.10 Thanks for your help.